<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
        <meta name="keywords" content="{yun:}$keywords{/yun}"/>
        <meta name="description" content="{yun:}$description{/yun}"/>

        <link rel="stylesheet" href="{yun:}$style{/yun}/style/css.css?v={yun:}$config.cachecode{/yun}" type="text/css"/>
        <link rel="stylesheet" href="{yun:}$style{/yun}/style/news.css?v={yun:}$config.cachecode{/yun}" type="text/css"/>
        <link rel="stylesheet" href="{yun:}$style{/yun}/style/mdsSlide.css?v={yun:}$config.cachecode{/yun}" type="text/css">
            {yun:}if $ishtml{/yun}
            <script src="{yun:}url m=ajax c=wjump url='c,article;nid,`$nid`'{/yun}" language="javascript"></script>
            {yun:}/if{/yun}

            <title>{yun:}if $classname{/yun}{yun:}$classname{/yun}{yun:}else{/yun}搜索{yun:}/if{/yun}</title>
    </head>
    <style>
        .box_skitter {
            position: relative;
            width: 800px;
            height: 320px;
            background: #000;
        }
        .box_skitter img {
            max-width: none;
            width: 800px;
            height: 320px;
        }
        .box_skitter_large {
            width: 800px;
            height: 320px;
        }
    </style>

    <body  class="body_bg">
        {yun:}include file="$tplstyle/header.htm"{/yun}
        <div class="yun_content">
            <div class="current_Location  png"> 
                您当前的位置：<a href="{yun:}$config.sy_weburl{/yun}">首页</a> > <!--<a href="{yun:}url m=article{/yun}">资讯</a> >-->
                {yun:}if $classname{/yun}{yun:}$classname{/yun}{yun:}else{/yun}搜索{yun:}/if{/yun}
            </div>

            <div class="n_list_box">
                {yun:}article nid='auto.nid' keyword='auto.keyword' ispage=1 urlstatic=1 limit=5  type=t pic=1  t_len=20 item=news_flash{/yun}
                {yun:}/article{/yun}
                <div class="n_list_box_cont">
                    {yun:}if $total!=0{/yun}
                    <div id="page" >
                        <div id="content" >
                            <div class="border_box" >
                                <div class="box_skitter box_skitter_large">
                                    <ul>
                                        {yun:}article nid='auto.nid' keyword='auto.keyword' ispage=1 urlstatic=1 limit=5  type=t pic=1  t_len=20 item=news_flash{/yun}
                                        <li><a href="{yun:}$news_flash.url{/yun}" target="_blank"><img src="{yun:}$news_flash.picurl{/yun}" width="320px" height="245px" class="cubeShow" alt="{yun:}$news_flash.title{/yun}"></a>
                                            <div class="label_text">
                                                <p>{yun:}$news_flash.title{/yun}</p>
                                            </div>
                                        </li>
                                        {yun:}/article{/yun}
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    {yun:}/if{/yun}
                    <div class="news_index_today_h1" style="margin-top:10px;">
                        <span class="news_index_today_h1_s">{yun:}if $classname{/yun}{yun:}$classname{/yun}{yun:}else{/yun}搜索{yun:}/if{/yun}</span>
                    </div>
                    <ul class="news_index_box_list">
                        {yun:}article nid='auto.nid' keyword='auto.keyword' ispage=1 urlstatic=1 limit=20  t_len=30 item=news{/yun}
                        <li>
                            <div class="news_index_box_list_img">
                                <a href="{yun:}$news.url{/yun}" target="_blank">
                                    <img src="{yun:}$news.picurl{/yun}" width="150" height="100" alt="{yun:}$news.title{/yun}"/>
                                </a>
                            </div>
                            <div class="news_index_box_list_r" style="width:560px;">
                                <h3 class="news_index_box_list_r_h1">
                                    <a target="_blank" href="{yun:}$news.url{/yun}"  {yun:}if $news.color{/yun}style="color:{yun:}$news.color{/yun}"{yun:}/if{/yun}>{yun:}$news.title{/yun}</a>
                                </h3>
                                <div class="news_index_box_list_r_p">
                                    <p>{yun:}$news.description|mb_substr:0:75:'utf-8'{/yun}{yun:}if strlen($news.description)>75 {/yun}......{yun:}/if{/yun} </p>
                                    <p>{yun:}$news.time{/yun}<span class="zx_part_nr-date_s">{yun:}$news.author{/yun}</span></p>
                                </div>
                            </div>
                        </li>
                        {yun:}/article{/yun}
                    </ul>

                    <div class="clear"></div>

                    {yun:}if $total!=0{/yun}
                    <div class="search_pages">
                        <div class="pages">{yun:}$pagenav{/yun}</div>
                    </div>
                    {yun:}else{/yun}


                    <div class="search_news_no">很抱歉，没有找到满足条件的资讯</div>


                    {yun:}/if{/yun}
                </div>

                <div class="news_index_box_right">
                    <form method="get" action="index.php">
                        <div class="news_index_box_search">
                            <input name='m' value="article" type="hidden"/>
                            <input name='c' value="list" type="hidden"/>
                            <input name='nid' value="{yun:}$smarty.get.nid{/yun}" type="hidden"/>
                            <input type="text" id="keyword" name="keyword" value="{yun:}$smarty.get.keyword{/yun}" placeholder="搜索文章" class="news_index_box_search_text"/>
                            <input type="submit" value="" class="news_index_box_search_bth"/>
                        </div>
                    </form>
                    <div class="clear"></div>
                    {yun:}if count($classList) > 0{/yun}
                    <div class="news_index_today_h1" > <span class="news_index_today_hot_s">分类标签</span></div>
                    <div class="clear"></div>
                    <div class="n_list_box_left"id="news_nav" style="margin-top:25px;">
                        {yun:}foreach item=v key=key from=$classList{/yun}
                        <div class="zx_fl_list">
                            <a href="{yun:}url m=article c=list nid=$v.id{/yun}" class="zx_fl_list_a">{yun:}$v.name{/yun}</a>
                        </div>
                        {yun:}/foreach{/yun}
                    </div>
                    <div class="clear"></div>
                    {yun:}/if{/yun}
                    
                    <div class="zx_article">

                        <div class="news_index_today_h1"> <span class="news_index_today_tj_s">推荐文章</span></div>
                        <div class="clear"></div>

                        <div class="zx_art_hot mt20">
                            {yun:}article limit=1 type=tj pic=1 t_len=8 urlstatic=1 item=news_jian{/yun}
                            <dl>
                                <dt><a href="{yun:}$news_jian.url{/yun}" target="_blank"><img src="{yun:}$news_jian.picurl{/yun}" width="84" height="63" alt="{yun:}$news_jian.title{/yun}"/></a></dt>
                                <dd>
                                    <div class="art_fanfu"><a href="{yun:}$news_jian.url{/yun}" target="_blank">{yun:}$news_jian.title{/yun}</a></div>
                                    <div class="art_xq">{yun:}$news_jian.description|mb_substr:0:22:'utf-8'{/yun}</div>
                                </dd>
                            </dl>
                            {yun:}/article{/yun}
                            <div class="clear"></div>
                        </div>
                        <div class="zx_art_list">
                            <ul>
                                {yun:}article limit=7 type=tj t_len=17 urlstatic=1 item=news_hits{/yun}
                                {yun:}if $news_hits.id!=$news_jian.id{/yun}
                                <li><a href="{yun:}$news_hits.url{/yun}" target="_blank">{yun:}$news_hits.title{/yun}</a></li>
                                {yun:}/if{/yun}
                                {yun:}/article{/yun}
                            </ul>
                        </div>
                        <div class="clear"></div>
                    </div>         <div class="news_index_today_h1"> <span class="news_index_today_news_s">最新文章</span></div>
                    <div class="clear"></div>
                    <div class="zx_article mt20">

                        {yun:}article limit=1 pic=1 t_len=7 d_len=24 urlstatic=1 item=indexnews1 key=key{/yun}
                        <div class="zx_art_hot">
                            <dl>
                                <dt><a href="{yun:}$indexnews1.url{/yun}" target="_blank"><img src="{yun:}$indexnews1.picurl{/yun}" width="84" height="63" alt="{yun:}$indexnews1.title{/yun}"/></a></dt>
                                <dd>
                                    <div class="art_fanfu"><a href="{yun:}$indexnews1.url{/yun}" target="_blank">{yun:}$indexnews1.title{/yun}</a></div>
                                    <div class="art_xq">{yun:}$indexnews1.description{/yun}..</div>
                                </dd>
                            </dl>
                            <div class="clear"></div>
                        </div>
                        {yun:}/article{/yun}

                        <div class="zx_art_list">
                            <ul>
                                {yun:}article limit=7 t_len=16 d_len=24 urlstatic=1   item=indexnews2{/yun}
                                {yun:}if $indexnews2.id!=$indexnews1.id{/yun}
                                <li><a href="{yun:}$indexnews2.url{/yun}" target="_blank">{yun:}$indexnews2.title{/yun}</a></li>
                                {yun:}/if{/yun}
                                {yun:}/article{/yun}
                            </ul>
                        </div>
                        <div class="clear"></div>   
                    </div>
                </div>
            </div>
        </div>
        <script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
        <link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}"></script>
        <script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
        <script src="{yun:}$config.sy_weburl{/yun}/js/lazyload.min.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
        <script src="{yun:}$config.sy_weburl{/yun}/js/public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>

        <script src="{yun:}$style{/yun}/js/article.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>
        <script src="{yun:}$style{/yun}/js/jquery.easing.1.3.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script>

        <!--[if IE 6]>
        <script src="{yun:}$config.sy_weburl{/yun}/js/png.js?v={yun:}$config.cachecode{/yun}"></script>
        <script>
        DD_belatedPNG.fix('.png');
        </script>
        <![endif]-->
        <script type="text/javascript">
            $(function () {
                var $keyword = $("#keyword").val();
                setHeightKeyWord('fontshow', $keyword, 'Red', true);

                var sfEls = $("#news_nav").find("div");
                for (var i = 0; i < sfEls.length; i++) {
                    sfEls[i].onmouseover = function () {
                        this.className += (this.className.length > 0 ? " " : "") + "zx_fl_list_hover";
                    }
                    sfEls[i].onMouseDown = function () {
                        this.className += (this.className.length > 0 ? " " : "") + "zx_fl_list_hover";
                    }
                    sfEls[i].onMouseUp = function () {
                        this.className += (this.className.length > 0 ? " " : "") + "zx_fl_list_hover";
                    }
                    sfEls[i].onmouseout = function () {
                        this.className = this.className.replace(new RegExp("( ?|^)zx_fl_list_hover\\b"), "");
                    }
                }
                if ($('.box_skitter_large ul li').length > 0) {
                    $('.box_skitter_large').skitter({
                        theme: 'clean',
                        dots: true,
                        preview: false,
                        numbers_align: 'right'
                    });
                }
            });
            function setHeightKeyWord(id, keyword, color, bold) {
                if (keyword == "")
                    return;
                var tempHTML = $("#" + id).html();
                var htmlReg = new RegExp("\<.*?\>", "i");
                var arrA = new Array();
                for (var i = 0; true; i++) {
                    var m = htmlReg.exec(tempHTML);
                    if (m) {
                        arrA[i] = m;
                    } else {
                        break;
                    }
                    tempHTML = tempHTML.replace(m, "[[[[" + i + "]]]]");
                }
                var replaceText
                if (bold)
                    replaceText = "<b style='color:" + color + ";'>$1</b>";
                else
                    replaceText = "<font style='color:" + color + ";'>$1</font>";
                var arrayWord = keyword.split(',');
                for (var w = 0; w < arrayWord.length; w++) {
                    var r = new RegExp("(" + arrayWord[w].replace(/[(){}.+*?^$|\\\[\]]/g, "\\$&") + ")", "ig");
                    tempHTML = tempHTML.replace(r, replaceText);
                }
                for (var i = 0; i < arrA.length; i++) {
                    tempHTML = tempHTML.replace("[[[[" + i + "]]]]", arrA[i]);
                }
                $("#" + id).html(tempHTML);
            }
        </script>
        {yun:}include file="$tplstyle/footer.htm"{/yun}